package com.intech.android.demo.cms.dao.interfaces;

import com.intech.android.demo.cms.bo.GraphicContent;
import com.intech.android.demo.cms.enums.Status;

import java.util.List;

public interface GraphicContentDAO
{
    public GraphicContent getById(Integer id);

    public void save(GraphicContent graphicContent);

    public void delete(GraphicContent graphicContent);

    public void delete(Integer textContentId);

    public List<GraphicContent> getAll();

    public List<GraphicContent> getAll(Integer rows);

    public List<GraphicContent> findGraphicContentsByName(String name);

    public List<GraphicContent> findGraphicContentsByAdvertiser(String name);

    public List<GraphicContent> findGraphicContents(List<Integer> regionsIds, List<Integer> categoriesId, Status status, Double chosenFrom, Double chosenTo);
}
